home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Feb 88 / Re-Using 68881 2⁄18 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.5 KB  |  49 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  SCHMUCKER1   to GOUGH2
  2.  
  3. Item    6514029                         18-Feb-88        08:53
  4.  
  5. From:   D0830                           Data Translation, Dev, R Burger
  6.  
  7. To:     D0317                           Matrix Instr, Reg Dev, D Miller
  8.  
  9. cc:     MACAPP$                         MacApp Interest List
  10.  
  11. Sub:    Response to Using 68881
  12.  
  13. Hi Dave!  (Or is this Terran calling?)
  14.  
  15. You have found one of the minor inadequacies of the MacApp make files: you
  16. can't specify new compiler options without overriding the default compilation
  17. rules as defined in "{MPW}MacApp:MacApp Make Files:MacApp.make1".  The most
  18. flexible way around the problem is to patch MacApp.make1 so that it accepts new
  19. options from your application's makefile.
  20.  
  21. Here are the modifications for MacApp.make1:
  22.  
  23.     .a.o   ƒ    .a
  24.        echo Assembling {default}.a
  25.        Asm {depDir}{default}.a {ADebugging} -d &NeedsROM128K={AsmNeedsROM128K}
  26.         {AOptions} -o {targDir}{default}.a.o
  27.  
  28.     .p.o    ƒ   .p
  29.        echo Compiling {default}.p
  30.        Pascal {depDir}{default}.p {Debugging} {PascalOptions} ∂
  31.         {POptions} -d qNeedsROM128K={NeedsROM128K} -d qMacApp=TRUE ∂
  32.            -i "{SrcMacApp}" -k "{LoadMacApp}" -o {targDir}{default}.p.o
  33.  
  34.  
  35. Now, at the top of your applications makefile, you can set those new variables
  36. to whatever options you like (if any):
  37.  
  38.     AOptions =
  39.     POptions = -mc68020 -mc68881
  40.  
  41. Hope this helps!
  42.  
  43. Russ Brenner
  44. Data Translation
  45.  
  46. P.S. You might want to send a message back to MACAPP$ asking to be put on this
  47. mailing list.
  48.  
  49.